package org.example.sdpback.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ProjectName: sdp-back
 * @Package: org.example.sdpback.domain.enums
 * @ClassName: TaskType
 * @Author: zhuxingyue
 * @Description: 任务类型
 * @Date: 2024/11/21 18:03
 * @Version: 1.0
 **/
@Getter
@AllArgsConstructor
public enum TaskTypeEnum {
    TASK_TEST(1, "测试"),
    TASK_DEMAND(2, "需求"),
    TASK_DESIGN(3, "设计"),
    TASK_CODE(4, "编码"),
    TASK_REVIEW(5, "审核"),
    TASK_DEPLOY(6, "部署"),
    TASK_EXAMINE(7, "评审"),
    TASK_OTHER(8, "其他");

    @EnumValue
    private final Integer value;
    @JsonValue
    private final String name;
}
